package com.example.demo1;

public class ConcreteStateB implements State {
    @Override
    public void handle(Context context) {
        System.out.println("进入状态模式B........");
        context.setCurrentState(this);
    }
}
